﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Configuration;
using System.Net.Configuration;
namespace QLDAOL.Email
{
    public class GetAddress
    {
        public static String FormAddress
        {

            get
            {

                SmtpSection cfg = (SmtpSection)ConfigurationManager.GetSection

                    ("system.net/mailSettings/smtp");

                return cfg.Network.UserName;

            }

        }
    }
}